Retrieves the index of a specified item in the vector view.
public:
bool IndexOf(
T value,
out uint32 index
)
value
Type: T
The item to find in the vector view.
index
Type: uint32
If the item is found, this is the zero-based index of the item; otherwise, this parameter is 0.
Type: bool
True if the item is found; otherwise, false.
Note
This is a cross-OS call. For more information, see Cross-OS Calls.
Namespace: Windows.Foundation.Collections
Metadata: windows.winmd